package com.example.smartlearning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.smartlearning.entity.CarouselEntity;
import com.example.smartlearning.entity.LessonEntity;

public interface LessonService extends IService<LessonEntity> {
    String getList(int start, int limit);//分页获取当前课程

    String likeCourse(int lessonId, int userId);//用户点赞视频

    String dislikeCourse(int lessonId, int userId);//用户取消点赞

    String selectDetail(int lessonId);

    String selectRemarkByLesson(int lessonId);

    String agreeRemark(int lessonRemarkId);

    String appearRemark(int lessonId, String lessonRemarkText, int lessonRemarkUserId);

}
